package model.vo
{
	import mx.collections.ArrayCollection;
	
	[RemoteClass(alias="tools.Page")]	
	[Bindable]
	public class Page
	{

		private var _pageSize:int;
		private var _start:int;
		private var _data:ArrayCollection;
		private var _totalCount:int;

		public function Page(){
		}
		
		public function setPage(pageSize:int,start:int,data:ArrayCollection,totalCount:int):Page
		{
			_pageSize=pageSize;
			_start=start;
			_data=data;
			_totalCount=totalCount;	
			return this;
		}

		public function get pageSize():int{
			return _pageSize;
		}

		public function set pageSize(pData:int):void{
			_pageSize=pData;
		}

		public function get start():int{
			return _start;
		}

		public function set start(pData:int):void{
			_start=pData;
		}

		public function get data():ArrayCollection{
			return _data;
		}

		public function set data(pData:ArrayCollection):void{
			_data=pData;
		}

		public function get totalCount():int{
			return _totalCount;
		}

		public function set totalCount(pData:int):void{
			_totalCount=pData;
		}


		
	}
}